<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>首页</title>

    <!--公用css引用-->
    @include('front.common.style')
            <!--END/公用css引用-->
    <link rel="stylesheet" href="../dist/css/index.css">
</head>
<body>
@inject('commentService', 'App\Interfaces\CommentService')

        <!--公共头部-->
@include('front.common.header')
        <!--END/公共头部-->


<!--内容部分-->

<?php 
@$comments = $commentService->getComment(['additional_content'=>'no']); 

?>
@if(count($comments))
    @foreach($comments->all() as $key=>$comment)
        <BR><BR>label{{$key}}:{{$comment->id}}
        <BR>label:{{$comment->label}}
        <BR>star:{{$comment->star}}
        <BR>content:{{$comment->content}}
        <BR>additional_content:{{$comment->additional_content}}
    @endforeach
@endif

<!--END/内容部分-->



<!--公共尾部-->
@include('front.common.footer')

        <!--END/公共尾部-->


<!--公用js引用-->
@include('front.common.script')

</body>
</html>